<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>MYMSGRO</title>
	<link rel="stylesheet" type="text/css" href="css/style.css"  />
</h:head>
<h:body styleClass="body">

	<h:panelGroup styleClass="titleDiv" layout="block">

		<h:panelGroup id="div0">
			<h:graphicImage  library="img" name="msg.jpg" />
		</h:panelGroup>


	</h:panelGroup>
	
	<h:form styleClass="form" id="formProvideEmail" >
		<h1>Change Password</h1>
			
		
		 	
		 	<h:panelGrid columns="1"  styleClass="forgotinset"  >
					
				<h:outputText value="An email will be sent to the provided address." />
				<h:outputText value="Email: " styleClass="output"> </h:outputText>	
				<h:inputText  value="#{forgotPasswordBean.providedEmail}" id="changePWEmailProvided" 
				 styleClass="emailforgot"></h:inputText>
				<h:outputText value="#{forgotPasswordBean.errorMsg}" style="color:maroon;"/>
			</h:panelGrid>
		
			 <p class="p-forgotcontainer">
			<h:commandButton value="Send" id="sendBtn"
				action="#{forgotPasswordBean.resetPassword}" styleClass="submit">
			</h:commandButton>
		</p> 
		
	</h:form>

</h:body>

</html>